 
-- ============================================= 
-- Author:		JUSTICE\rozentan 
-- Create date: 20100624 
-- ============================================= 
 
CREATE FUNCTION /*function_name*/ 
( 
/*    @IntField [int], */ 
/*    @VarcharField [varchar](50) */ 
) 
RETURNS  
-- scalar function 
/*    [int]     */ 
-- table valued function 
/*    TABLE     */ 
AS 
BEGIN 
	-- scalar function 
/*    DECLARE @ResultInt [int] */ 
/*    SELECT @ResultInt = 1 */ 
/*    RETURN @ResultInt */ 
 
    -- table valued function 
/*    SELECT * from table_name */ 
 
END 
GO 

